Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is not possible to create a relationship with a password protected template #908

Conversation

tnotheis
Copy link
Member

Readiness checklist

  • I added/updated unit tests.
  • I added/updated integration tests.
  • I ensured that the PR title is good enough for the changelog.
  • I labeled the PR.

The important changes are in RelationshipTemplate.cs. There have been two bugs:

  1. The condition in IsAllocatedBy was inverted. Obviously, a template is considered "allocated" by a specific identity if there is an allocation for that identity.
  2. In the CanBeCollectedUsingPassword, I allowed identities that have already allocated the template to collect it again without a password.

The other two files are related to tests for the CanBeCollectedUsingPassword method.

@tnotheis tnotheis added the bug Something isn't working label Oct 14, 2024
@tnotheis tnotheis merged commit bb56244 into main Oct 15, 2024
33 of 34 checks passed
@tnotheis tnotheis deleted the it-is-not-possible-to-create-a-relationship-with-a-password-protected-template branch October 15, 2024 05:20
@tnotheis tnotheis self-assigned this Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants